package com.lp.multi.juc;

/**
 * @author: lp
 * @create: 2021-06-23 15:59
 * @description: TODO
 */
public class RunTimeTest {
    public static void main(String[] args) {
        //获取CPU核数
        //CPU密集型，IO密集型
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}
